package dockyin.action.pattern.strategy;


public class Plus extends AbstractCalculator implements ICalculator {
    @Override
    public int calculate(String exp) {
        int[] params = split(exp, "\\+");
        return params[0] + params[1];
    }
}
